package com.woniu.register.service.impl;

import com.woniu.register.VO.RoomVo;
import com.woniu.register.dto.RoomDTO;
import com.woniu.register.entity.Room;
import com.woniu.register.mapper.RoomMapper;
import com.woniu.register.service.RoomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：zhulongxing
 * @date ：Created in 2022/12/6 19:25
 * @description：
 * @modified By：
 * @version: $
 */
@Service
public class RoomServiceImpl implements RoomService {
    @Autowired
    RoomMapper roomMapper;
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    public int insert(Room record) {
        return 0;
    }

    public int insertSelective(Room record) {
        return 0;
    }

    public Room selectByPrimaryKey(Long id) {
        return null;
    }

    public int updateByPrimaryKeySelective(Room record) {
        return 0;
    }

    public int updateByPrimaryKey(Room record) {
        return 0;
    }

    @Override
    public RoomVo selectAll(RoomDTO roomDTO) {
        return roomMapper.selectAll(roomDTO);
    }
}
